//
//  BM3U8FileParser.h
//  iphoneLive⁩
//
//  Created by on 2019/10/11.
//  Copyright © 2019 . All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface BM3U8LocalFileParser : NSObject

@property (nonatomic,copy,readonly  ) NSString            *m3u8LocalPath;
@property (nonatomic,strong,readonly) NSMutableDictionary *m3u8ContentDic;
@property (nonatomic,strong,readonly) NSMutableArray      *tsA;
@property (nonatomic,strong,readonly) NSMutableArray      *keyA;
@property (nonatomic,strong,readonly) NSMutableArray      *m3u8urlA;
@property (nonatomic,strong,readonly) NSMutableArray      *m3u8DirectPA;
@property (nonatomic,assign,readonly) CGFloat             totalDuration;

- (instancetype)initWithLocalPath:(NSString *)localPath;

- (BM3u8ContentFileExistResult)allFileIsExist;

+ (instancetype)parserWithPath:(NSString *)localPath;

@end

NS_ASSUME_NONNULL_END
